package me.raih.pojo.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @Author Raih
 * @Time 2020/11/27  16:27
 *
 * 售货员
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Sales {

    private String username;
    private String password;
    private String name;
    private Date createTime;
    @Value("1")
    private Integer power;

}
